3.25.95 \(\int \frac {(a+b x^n)^{3/2}}{x^2} \, dx\) [2495]

Optimal. Leaf size=49 \[ -\frac {\left (a+b x^n\right )^{5/2} \, _2F_1\left (1,\frac {5}{2}-\frac {1}{n};-\frac {1-n}{n};-\frac {b x^n}{a}\right )}{a x} \]

[Out]

-(a+b*x^n)^(5/2)*hypergeom([1, 5/2-1/n],[(-1+n)/n],-b*x^n/a)/a/x

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 59, normalized size of antiderivative = 1.20, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {372, 371} \begin {gather*} -\frac {a \sqrt {a+b x^n} \, _2F_1\left (-\frac {3}{2},-\frac {1}{n};-\frac {1-n}{n};-\frac {b x^n}{a}\right )}{x \sqrt {\frac {b x^n}{a}+1}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x^n)^(3/2)/x^2,x]

[Out]

-((a*Sqrt[a + b*x^n]*Hypergeometric2F1[-3/2, -n^(-1), -((1 - n)/n), -((b*x^n)/a)])/(x*Sqrt[1 + (b*x^n)/a]))

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 372

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^n)^FracPart[p]/
(1 + b*(x^n/a))^FracPart[p]), Int[(c*x)^m*(1 + b*(x^n/a))^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[
p, 0] &&  !(ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin {align*} \int \frac {\left (a+b x^n\right )^{3/2}}{x^2} \, dx &=\frac {\left (a \sqrt {a+b x^n}\right ) \int \frac {\left (1+\frac {b x^n}{a}\right )^{3/2}}{x^2} \, dx}{\sqrt {1+\frac {b x^n}{a}}}\\ &=-\frac {a \sqrt {a+b x^n} \, _2F_1\left (-\frac {3}{2},-\frac {1}{n};-\frac {1-n}{n};-\frac {b x^n}{a}\right )}{x \sqrt {1+\frac {b x^n}{a}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 56, normalized size = 1.14 \begin {gather*} -\frac {a \sqrt {a+b x^n} \, _2F_1\left (-\frac {3}{2},-\frac {1}{n};1-\frac {1}{n};-\frac {b x^n}{a}\right )}{x \sqrt {1+\frac {b x^n}{a}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^n)^(3/2)/x^2,x]

[Out]

-((a*Sqrt[a + b*x^n]*Hypergeometric2F1[-3/2, -n^(-1), 1 - n^(-1), -((b*x^n)/a)])/(x*Sqrt[1 + (b*x^n)/a]))

________________________________________________________________________________________

Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \,x^{n}\right )^{\frac {3}{2}}}{x^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*x^n)^(3/2)/x^2,x)

[Out]

int((a+b*x^n)^(3/2)/x^2,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^n)^(3/2)/x^2,x, algorithm="maxima")

[Out]

integrate((b*x^n + a)^(3/2)/x^2, x)

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^n)^(3/2)/x^2,x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 0.89, size = 44, normalized size = 0.90 \begin {gather*} \frac {a^{\frac {3}{2}} \Gamma \left (- \frac {1}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {3}{2}, - \frac {1}{n} \\ 1 - \frac {1}{n} \end {matrix}\middle | {\frac {b x^{n} e^{i \pi }}{a}} \right )}}{n x \Gamma \left (1 - \frac {1}{n}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x**n)**(3/2)/x**2,x)

[Out]

a**(3/2)*gamma(-1/n)*hyper((-3/2, -1/n), (1 - 1/n,), b*x**n*exp_polar(I*pi)/a)/(n*x*gamma(1 - 1/n))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^n)^(3/2)/x^2,x, algorithm="giac")

[Out]

integrate((b*x^n + a)^(3/2)/x^2, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+b\,x^n\right )}^{3/2}}{x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^n)^(3/2)/x^2,x)

[Out]

int((a + b*x^n)^(3/2)/x^2, x)

________________________________________________________________________________________